<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="sharecontent" data-msg-img="img/nl.jpg" data-msg-title="多用多送能量加油站" data-msg-content="上咪咕，0元最高领35G流量+10元话费+体验会员，海量高清视频任性看。" data-msg-callBack="" data-line-img="img/nl.jpg" data-line-title="多用多送能量加油站" data-line-callBack=""/>
    <link rel="stylesheet" href="./css/nengliang.css">
    <title>多用多送能量加油站</title>
</head>
<body>
   <div style ='margin:0 auto;width:0px;height:0px;overflow:hidden;'>
        <img src="img/nl.jpg" >
   </div>
   <header style="height: 0px;">
        <img src="img/nl_bg4.png" alt="" id="bg01">
        <!-- <div class="header-btn1"><a href="http://m.miguvideo.com/wap/resource/migu/openApp/index.html?nodeId=http://h5.cmpassport.com/activity/h5_freeflowpacket/freeflowpacket/index.html?channel=dn"><img src="img/nl_10024M.png" alt="" id="openHalfVip1"/></a></div>         -->        
        <div class="header-btn"><a href="http://g.10086.cn/hao/0vkmh"><img src="img/nl_Page.png" style="width:80%; margin:auto; " alt="" id="openHalfVip"/></a></div>
   </header>
</body>
<script src="/wap/resource/migu/subject/js/jquery-3.3.1.min.js"></script>

<script src="/wap/resource/migu/miguH5/js/plugins/webViewCommon.js"></script>

<script src="/wap/resource/migu/script/plugins/weixinSecondShare.js"></script>
<script>
var shareImg = "/wap/resource/migu/subject/img/nl.jpg";
var mainTitle = "多用多送能量加油站";
var secondTitle = "上咪咕，0元最高领35G流量+10元话费+体验会员，海量高清视频任性看。";
$.weixinSecondShare(mainTitle, secondTitle, shareImg);
var shareFriend = function() {
        if(window.isWebView){
                   var imgUrl = '/wap/resource/migu/subject/img/nl.jpg';
                    var shareTitle = '多用多送能量加油站';  // 分享后的标题
                    var descContent = "上咪咕，0元最高领35G流量+10元话费+体验会员，海量高清视频任性看。";  // 分享后的描述信息
                     imgUrl = location.origin + imgUrl;
                    console.log(imgUrl);
                    var shareUrl = "http://m.miguvideo.com/wap/resource/migu/subject/nengliang.jsp";
                    $.getShareInfoForNative(shareTitle,descContent,imgUrl,shareUrl);      
                    $.pageRenderingEnd();
                }
                else{
                    $.weixinSecondShare(shareTitle,descContent,imgUrl);
                }
            }

$(function () {
    if ($.getUrlParam("platform") == "android" || $.getUrlParam("platform") == "ios") {
        window.isWebView = true;
    }

    if (window.isWebView) {
        window.mnWebMain.init(function () {
            shareFriend()
        })
    }
    else {
        shareFriend()
    }
})
</script>
</html>